import service from '@/utils/http-util';

export const useLoginApi = () => {
  return {
    login: (data) => {
      return service.post('/auth/signIn', data);
    },
    getPublicKey: () => {
      return service.get('/auth/getPublicKey');
    },
  };
};
